$FONT_TITLE = "Ubuntu:size=10#Center#XFT"
$FONT = "Ubuntu:size=10#Left#XFT"

Version = "2"

Require {
  Templates = "True"
}

Background {
  Texture = "LinesHorz 10% #dedede #e3e3e3"
}

Define = "Border" {
  Focused {
    TopLeft = "Image top_left.xpm"
    Top = "Image top_border.xpm"
    TopRight = "Image top_right.xpm"
    Left = "Image leftright_border.xpm"
    Right = "Image leftright_border.xpm"
    BottomLeft = "Image bottom_left.xpm"
    Bottom = "Image bottom_border.xpm"
    BottomRight = "Image bottom_right.xpm"
  }
  Unfocused{
    TopLeft = "Image top_left_unf.xpm"
    Top = "Image top_border.xpm"
    TopRight = "Image top_right_unf.xpm"
    Left = "Image leftright_border_unf.xpm"
    Right = "Image leftright_border_unf.xpm"
    BottomLeft = "Image bottom_left_unf.xpm"
    Bottom = "Image bottom_border_unf.xpm"
    BottomRight = "Image bottom_right_unf.xpm"
  }
}

Define = "EmptyBorder" {
  Focused {
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }
  Unfocused {
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }
}

Define = "EmptyDecor" {
  Height = "0"
  Focused = "Empty"
  Unfocused = "Empty"

  Tab{
    Focused = "Empty"
    FocusedSelected = "Empty"
    Unfocused = "Empty"
    UnfocusedSelected = "Empty"
  }

  Separator {
    Focused = "Empty"
    Unfocused = "Empty"
  }

  Font {
    Focused = "$FONT"
  }

  FontColor {
    Focused = "#000000"
    FocusedSelected = "#000000"
    Unfocused = "#000000"
    UnfocusedSelected = "#000000"
  }
}

Define = "Titlebarless" {
  @EmptyDecor
  Border{
    @Border
    Focused {
      TopLeft = "Image bottom_left.xpm"
      Top = "Image bottom_border.xpm"
      TopRight = "Image bottom_right.xpm"
    }
    Unfocused {
      TopLeft = "Image bottom_left_unf.xpm"
      Top = "Image bottom_border_unf.xpm"
      TopRight = "Image bottom_right_unf.xpm"
    }
  }
}

Decor = "Default"{
  Height = "22"
  Pad = "3 3 7 8"

  Focused = "Image title.xpm"
  Unfocused = "Image title_unf.xpm"

  Tab {
    Focused = "Image title.xpm"
    FocusedSelected = "Image title.xpm"
    Unfocused = "Image title_unf.xpm"
    UnfocusedSelected = "Image title_unf.xpm"
  }
  Separator {
    Focused = "Image tab_separator.xpm"
    Unfocused = "Image tab_separator_unf.xpm"
  }
  Font  {
    Focused = "$FONT_TITLE"
  }
  FontColor {
    Focused = "#cccccc"
    FocusedSelected = "#ffffff"
    Unfocused = "#999999"
    UnfocusedSelected = "#cccccc"
  }

  Buttons{
    Left = "Close" {
      Focused = "Image button_close.xpm"
      Unfocused = "Image button_close_unf.xpm"
      Hover = "Image button_close_hov.xpm"
      Pressed = "Image button_close_pr.xpm"
      Button = "1" { Actions = "Close" }
      Button = "3" { Actions = "Kill" }
    }
    Left = "Iconify" {
      Focused = "Image button_hide.xpm"
      Unfocused = "Image button_hide_unf.xpm"
      Hover = "Image button_hide_hov.xpm"
      Pressed = "Image button_hide_pr.xpm"
      Button = "1"{Actions = "Set Iconified"}
    }
    Left = "Max" {
      Focused = "Image button_full.xpm"
      Unfocused = "Image button_full_unf.xpm"
      Hover = "Image button_full_hov.xpm"
      Pressed = "Image button_full_pr.xpm"
      Button = "1" { Actions = "Toggle Maximized 1 1" }
    }
    Left "Shade" {
      Focused = "Image button_shade.xpm"
      Unfocused = "Image button_shade_unf.xpm"
      Hover = "Image button_shade_hov.xpm"
      Pressed = "Image button_shade_pr.xpm"
      Button = "1" { Actions = "Toggle Shaded" }
    }
  }

  Border {
    @Border
  }
}

Decor = "Menu" {
  Height = "23"
  Pad = "2 4 6 8"
  Focused = "Image menu_title.xpm"
  Unfocused = "Image menu_title_unf.xpm"
  Tab{
    Focused = "Image menu_title.xpm"
    FocusedSelected = "Image menu_title.xpm"
    Unfocused = "Image menu_title_unf.xpm"
    UnfocusedSelected = "Image menu_title_unf.xpm"
  }
  Separator {
    Focused = "Image top_left.xpm"
    Unfocused = "Image top_left_unf.xpm"
  }
  Font {
    Focused = "$FONT"
  }
  FontColor {
    Focused = "#FF0000"
    FocusedSelected = "#000000"
    Unfocused = "#00FF00"
    UnfocusedSelected = "#bfbfbf"
  }

  Border {
    Focused{
      TopLeft = "Image menu_top_left.xpm"
      Top = "Image menu_top.xpm"
      TopRight = "Image menu_top_right.xpm"
      Left = "Image menu_left.xpm"
      Right = "Image menu_right.xpm"
      BottomLeft = "Image menu_bottom_left.xpm"
      Bottom = "Image menu_bottom.xpm"
      BottomRight = "Image menu_bottom_right.xpm"
    }
    Unfocused {
      TopLeft = "Image menu_top_left_unf.xpm"
      Top = "Image menu_top.xpm"
      TopRight = "Image menu_top_right_unf.xpm"
      Left = "Image menu_left_unf.xpm"
      Right = "Image menu_right_unf.xpm"
      BottomLeft = "Image menu_bottom_left_unf.xpm"
      Bottom = "Image menu_bottom_unf.xpm"
      BottomRight = "Image menu_bottom_right_unf.xpm"
    }
  }
}

Decor = "Titlebarless"{
  @Titlebarless
}

Decor = "WorkspaceIndicator" {
  @Titlebarless
}

Decor = "Statuswindow"{
  @Titlebarless
}

Decor = "InputDialog"{
  @Titlebarless
}

Menu{
  Pad = "3 0 4 8"

  Focused {
    Font = "$FONT"
    Background = "Solid #624141"
    Item = "Empty"
    Text = "#cccccc"
    Separator = "Image menuline.xpm#Scaled"
    Arrow = "Image arrow.xpm"
  }

  Unfocused {
    Font = "$FONT"
    Background = "Solid #415D62"
    Item = "Empty"
    Text = "#cccccc"
    Separator = "Image menuline_unf.xpm#Scaled"
    Arrow = "Image arrow_unf.xpm"
  }

  Selected {
    Font = "$FONT"
    Background = "Solid #000000"
    Item = "Empty"
    Text = "#ffffff"
    Arrow = "Image arrow.xpm"
  }
}

CmdDialog {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "3 10 1 3"
}

Dialog {
  Background = "Solid #624141"
  TitleFont = "$FONT_TITLE"
  TitleColor = "#ffffff"
  Font = "$FONT"
  Text = "#cccccc"
  Pad = "4 4 4 4"

  Button {
    Font = "$FONT"
    Text = "#ffffff"

    Focused = "SolidRaised #624141 #9C6868 #312020 2 2"
    Unfocused = "SolidRaised #624141 #9C6868 #312020 2 2"
    Hoover = "SolidRaised #415D62 #68949C #202E31 2 2"
    Pressed = "SolidRaised #624141 #9C6868 #312020 2 2"
  }
}

Harbour {
  Texture = "Solid #624141"
}

WorkspaceIndicator {
  Font = "$FONT_TITLE"
  Background = "Solid #ffffff"
  Workspace = "Solid #415D62"
  WorkspaceActive = "Solid #624141"
  Text = "#000000"
  EdgePadding = "2"
  WorkspacePadding = "2"
}

Status {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "4 2 10 30"
}
